import request from '@/utils/request'

// 查询ArticleTag列表
export function listArticle_tag(query) {
  return request({
    url: '/system/article_tag/list',
    method: 'get',
    params: query
  })
}

// 查询ArticleTag详细
export function getArticle_tag(id) {
  return request({
    url: '/system/article_tag/' + id,
    method: 'get'
  })
}

// 新增ArticleTag
export function addArticle_tag(data) {
  return request({
    url: '/system/article_tag',
    method: 'post',
    data: data
  })
}

// 修改ArticleTag
export function updateArticle_tag(data) {
  return request({
    url: '/system/article_tag',
    method: 'put',
    data: data
  })
}

// 删除ArticleTag
export function delArticle_tag(id) {
  return request({
    url: '/system/article_tag/' + id,
    method: 'delete'
  })
}
